<?php
/**
 * EmailFixture
 *
 */
class EmailFixture extends CakeTestFixture {

/**
 * Table name
 *
 * @var string
 */
	public $table = 'email';

/**
 * Fields
 *
 * @var array
 */
	public $fields = array(
		'email' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'senha' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'observacao' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'status' => array('type' => 'integer', 'null' => false, 'default' => '0', 'length' => 6),
		'dataCadastro' => array('type' => 'date', 'null' => false, 'default' => '0000-00-00'),
		'Email_ID' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'primary'),
		'Hospedagem_ID' => array('type' => 'integer', 'null' => false, 'default' => '0', 'key' => 'index'),
		'indexes' => array(
			'PRIMARY' => array('column' => 'Email_ID', 'unique' => 1),
			'R_78' => array('column' => 'Hospedagem_ID', 'unique' => 0)
		),
		'tableParameters' => array('charset' => 'latin1', 'collate' => 'latin1_swedish_ci', 'engine' => 'InnoDB')
	);

/**
 * Records
 *
 * @var array
 */
	public $records = array(
		array(
			'email' => 'Lorem ipsum dolor sit amet',
			'senha' => 'Lorem ipsum dolor sit amet',
			'observacao' => 'Lorem ipsum dolor sit amet',
			'status' => 1,
			'dataCadastro' => '2012-09-16',
			'Email_ID' => 1,
			'Hospedagem_ID' => 1
		),
	);

}
